/*common---begin*/
html, body {
  width: 100%;
  height: 100%;
}

/*内容切换动画---begin*/
.move-enter-active, .move-leave-active {
  transition: opacity .5s;
}

.move-enter, .move-leave {
  opacity: 0;
}

/*内容切换动画---end*/

/*ui组件自定义样式---beigin*/
.buleBtn {
  background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
  border-color: #3D8CF3;
}

.buleSpaceBtn {
  background: #fff;
  border-color: #3D8CF3;
}

.skyBagBtn {
  background: #EAF3FD;
}

/*ui组件自定义样式---end*/
.home-layout {
  width: 100%;
  min-width: 320px;
  height: 100%;
  position: relative;
  .home-content {
    height: 100%;
    border-top: 60px solid #F7F8FC;
    background: url(../img/common/bg.png) no-repeat;
    background-size: 100% 100%;
    overflow: auto;
  }
}

/*head---begin*/
.vhead-layout {
  height: 60px;
  background: #fff;
  position: absolute;
  width: 100%;
  right: 0;
  top: 0;
  z-index: 2;
  box-shadow: 0 5px 5px #ccc;
  .head-menu {
    height: 60px;
    .head-menu-list {
      height: 60px;
      width: 170px;
      font-size: 22px;
      line-height: 60px;
      text-align: center;
      color: #B0B0B0;
      cursor: pointer;
      a{
        color: #B0B0B0;
      }
      .head-menu-txt {
        display: inline-block;
        padding-right: 10px;
        height: 60px;
      }
    }
    .icon_menu {
      display: inline-block;
      vertical-align: middle;
      background-image: url(../img/common/icon.png);
      background-repeat: no-repeat;
      background-position-y: -40px;
    }
    .head-menu-list:nth-child(1) {
      width: 200px;
      background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
      color: #D1F7FF;
      a{
        color: #D1F7FF;
      }
    }
    .head-menu-list:hover {
      color: #1171F0;
      a{
        color: #1171F0;
      }
      .head-menu-txt {
        border-bottom: 4px solid #1171F0;
      }
      .icon_menu {
        background-position-y: 0;
      }
      .head-menu-item {
        display: block !important;
      }
    }
    .head-menu-list:hover:nth-child(1) {
      color: #D1F7FF;
      a{
        color: #D1F7FF;
      }
      .head-menu-txt {
        border-bottom: 0;
      }
    }
    .active {
      color: #1171F0;
      a{
        color: #1171F0;
      }
      .head-menu-txt {
        border-bottom: 4px solid #1171F0;
      }
      .icon_menu {
        background-position-y: 0;
      }
    }
    .router-link-active{
      color: #1171F0;
      .head-menu-txt {
        border-bottom: 4px solid #1171F0;
      }
      .icon_menu {
        background-position-y: 0;
      }
    }
  }
  .head-menu-item {
    li {
      width: 170px;
      cursor: pointer;
      padding: 0 10px;
      background: #fff;
      .txt {
        height: 60px;
        font-size: 22px;
        line-height: 60px;
        text-align: center;
        color: #444;
        border-bottom: 1px solid #eee;
      }
    }
    li:hover {
      .txt {
        color: #1171F0;
      }
    }
  }
  .head-admin {
    height: 60px;
    font-size: 22px;
    color: #B0B0B0;
    .head-admin-set {
      cursor: pointer;
      margin: 0 30px;
      .icon-set {
        display: inline-block;
        vertical-align: middle;
        background-image: url(../img/common/icon.png);
        background-repeat: no-repeat;
        background-position-y: -40px;
      }
    }
    .admin-set-layout:hover {
      .head-admin-set {
        color: #1171F0;
        border-bottom: 4px solid #1171F0;
        .icon-set {
          background-position-y: 0;
        }
      }
      .head-admin-item {
        display: block !important;
      }
    }
    .admin-set-active {
      .head-admin-set {
        color: #1171F0;
        border-bottom: 4px solid #1171F0;
        .icon-set {
          background-position-y: 0;
        }
      }
    }
    .head-admin-item {
      width: 100%;
      li {
        cursor: pointer;
        padding: 0 10px;
        background: #fff;
        .txt {
          height: 60px;
          font-size: 22px;
          line-height: 60px;
          text-align: center;
          color: #444;
          border-bottom: 1px solid #eee;
        }
      }
      li:hover {
        .txt {
          color: #1171F0;
        }
      }
    }
    .head-admin-user {
      cursor: pointer;
      margin-right: 30px;
      .icon-user {
        display: inline-block;
        vertical-align: middle;
        width: 50px;
        height: 50px;
        background: url(../img/common/admin.png) 0 0 no-repeat;
        background-size: 50px 50px;
        margin: 5px 5px;
      }
    }
  }
}

@media screen and (max-width: 1181px) {
  .head-menu-list {
    width: 50px !important;
  }

  .head-menu-txt {
    .txt {
      display: none;
    }
  }

  .head-admin {
    .head-admin-set {
      margin: 0 10px !important;
    }
    .head-admin-user {
      margin-right: 10px !important;
    }
  }
}

/*head---end*/
/*list---begin*/
.common-list-nav {
  margin-bottom: 10px;
  .nav-item {
    float: left;
    font-size: 18px;
    line-height: 18px;
    color: #A2A3A5;
    cursor: pointer;
    span {
      margin: 0 5px;
    }
  }
  .nav-item:last-child {
    color: #1171F0;
    span {
      display: none;
    }
  }
}

.common-list-layout {
  .common-list-item {
    width: 348px;
    height: 240px;
    background: url("../img/common/item.png") no-repeat;
    border-radius: 4px;
    box-shadow: 5px 5px 5px #ccc;
    margin-right: 20px;
    margin-bottom: 28px;
    padding: 32px 20px;
    color: #333;
  }
  .common-list-item:hover {
    background: url("../img/common/itemhover.png") no-repeat;
    color: #fff;
    .num {
      color: #fff;
    }
  }
  .listActive {
    background: url("../img/common/itemhover.png") no-repeat;
    color: #fff;
    .num {
      color: #fff !important;
    }
  }
  .common-list-top {
    margin-bottom: 55px;
    height: 66px;
    .txt {
      h3 {
        font-weight: normal;
        font-size: 26px;
        line-height: 26px;
        margin: 14px 0 20px 0;
      }
      p {
        font-size: 20px;
        line-height: 20px;
      }
    }
  }
  .common-list-bottom {
    .num {
      font-weight: normal;
      font-size: 34px;
      color: #2b80f2;
      line-height: 34px;
      margin-right: 12px;
    }
    .txt {
      padding-top: 10px;
      font-size: 20px;
      line-height: 20px;
    }
  }
}

/*list---end*/
/*projectSearch---begin*/
.project-search-layout {
  width: 140px;
  height: 390px;
  background: #fff;
  box-shadow: 0px 0px 15px #ccc;
  .project-search-input {
    padding: 10px 10px 0 10px;
  }
  .porject-city-list {
    li {
      font-size: 18px;
      height: 50px;
      line-height: 50px;
      text-align: center;
      color: #484848;
      border-bottom: 1px solid #EEE;
    }
    li:hover {
      color: #fff;
      background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
    }
    .list-active {
      color: #fff;
      background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
    }
  }
  .project-search-more {
    height: 50px;
    line-height: 50px;
    text-align: center;
    color: #D8D8D8;
  }
}

/*projectSearch---end*/
/*common---end*/

/*detail--begin*/
.detail-layout {
  padding: 30px;
}

/*detail--end*/
/*purchaseList---begin*/
.purchase-list-layout {
  padding: 30px;
  .purchase-content {
    position: relative;
    .purchase-search {
      position: absolute;
      left: 0;
      top: 0;
    }
    .purchase-table {
      background: #fff;
      padding: 30px;
      box-shadow: inset 0 0 10px #ccc;
      .purchase-item {
        margin-bottom: 20px;
        .el-form-item {
          float: left;
          width: 154px;
          height: 40px;
          margin-right: 14px;
          margin-bottom: 0;
        }
        .principalItem {
          margin-right: 142px;
        }
        .itemTime {
          width: 322px;
          .el-input {
            width: 100%;
          }
        }
        .itemTime2 {
          width: 220px;
          .el-input {
            width: 100%;
          }
        }
        .itemButton {
          width: 324px;
          margin-right: 0;
          .el-button--primary {
            width: 88px;
            background-image: linear-gradient(137deg, #FFB542 0%, #F99782 100%);
            border-color: #FCA567;
          }
          .addItem {
            width: 120px;
            background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
            border-color: #20a0ff;
          }
        }
      }
      .purchase-table-list {
        thead {
          tr {
            background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
            th {
              background-color: rgba(0, 0, 0, 0);
            }
            div {
              background-color: rgba(0, 0, 0, 0);
              text-align: center;
            }
          }
        }
        td {
          div {
            text-align: center;
          }
        }
        .el-tag {
          background-color: #fff;
          color: #333;
          font-size: 14px;
        }
        .el-button--primary {
          width: 52px;
          height: 26px;
          padding: 0;
        }
        .accessoryBtn {
          background-image: linear-gradient(137deg, #FFB542 0%, #F99782 100%);
          border-color: #FCA567;
        }
        .editBtn {
          background: #fff;
          border-color: #3D8CF3;
          color: #3D8CF3;
        }
        .deleteBtn {
          background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
          border-color: #3D8CF3;
        }
      }
      .block {
        margin-top: 46px;
        text-align: center;
      }
      .new-build-change {
        width: 100%;
        margin-top: 20px;
        .itemButton {
          float: right;
        }
        .btnLayout {
          width: 320px;
          height: 50px;
          margin: 0;
        }
        .clickBag {
          background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
          color: #fff;
        }
        .btnChange {
          width: 160px;
          height: 50px;
          margin: 0;
          line-height: 28px;
          font-size: 18px;
        }
      }
    }
  }
  .mb0 {
    margin-bottom: 0 !important;
  }
}

.set-admin-table {
  background: #fff;
  padding: 30px;
  box-shadow: inset 0 0 10px #ccc;
  .purchase-item {
    margin-bottom: 20px;
    .el-form-item {
      float: left;
      width: 154px;
      height: 40px;
      margin-right: 14px;
      margin-bottom: 0;
    }
    .principalItem {
      margin-right: 142px;
    }
    .itemTime {
      width: 322px;
      .el-input {
        width: 100%;
      }
    }
    .itemTime2 {
      .el-input {
        width: 100%;
      }
    }
    .itemButton {
      width: 324px;
      margin-right: 0;
      float: right;
      .el-button--primary {
        width: 88px;
        background-image: linear-gradient(137deg, #FFB542 0%, #F99782 100%);
        border-color: #FCA567;
      }
      .addItem {
        width: 120px;
        background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
        border-color: #20a0ff;
      }
    }
    .itemButton2 {
      width: 460px;
    }
  }
  .purchase-table-list {
    thead {
      tr {
        background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
        th {
          background-color: rgba(0, 0, 0, 0);
        }
        div {
          background-color: rgba(0, 0, 0, 0);
          text-align: center;
        }
      }
    }
    td {
      div {
        text-align: center;
      }
    }
    .el-tag {
      background-color: #fff;
      color: #333;
      font-size: 14px;
    }
    .el-button--primary {
      width: 52px;
      height: 26px;
      padding: 0;
    }
    .accessoryBtn {
      background-image: linear-gradient(137deg, #FFB542 0%, #F99782 100%);
      border-color: #FCA567;
    }
    .editBtn {
      background: #fff;
      border-color: #3D8CF3;
      color: #3D8CF3;
    }
    .deleteBtn {
      background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
      border-color: #3D8CF3;
    }
  }
  .block {
    margin-top: 46px;
    text-align: center;
  }
  .new-build-change {
    width: 100%;
    margin-top: 20px;
    .itemButton {
      float: right;
    }
    .btnLayout {
      width: 640px;
      height: 50px;
      margin: 0;
    }
    .clickBag {
      background-image: linear-gradient(133deg, #61D6FD 0%, #437FFE 100%);
      color: #fff;
    }
    .btnChange {
      width: 160px;
      height: 50px;
      margin: 0;
      line-height: 28px;
      font-size: 18px;
    }
  }
}

/*purchaseList---end*/
/*newPurchase---begin*/
.new-purchase-layout {
  padding: 30px;
}

.new-layout {
  background: #fff;
  box-shadow: 0px 0px 10px #ccc;
  .new-content {
    width: 800px;
    margin: 0 auto;
    padding: 30px 0;
  }
  .new-ititle {
    font-weight: normal;
    font-size: 18px;
    color: #1171F0;
    height: 40px;
    line-height: 40px;
    border-bottom: 1px solid #D0F3FF;
    margin-bottom: 22px;
  }
  .w280 {
    width: 280px;
  }
  .w74 {
    width: 74px;
  }
  .h120 {
    .el-textarea__inner {
      height: 110px;
    }
  }
  .new-num-item {
    position: relative;
  }
  .new-unit {
    position: absolute;
    right: 10px;
    top: 0;
    .el-form-item__content {
      margin-left: 0 !important;
    }
  }
}
.new-add-submit {
  text-align: center;
  margin-top: 20px;
  .el-form-item__content{
    margin-left:0 !important;
  }
}
.new-add-btn {
  font-size: 18px;
  padding: 6px 10px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #2D8CF0;
  height: 36px;
  line-height: 30px;
  cursor: pointer;
  text-align: center;
}

.new-add-edit {
  padding: 10px 10px 0;
}

.new-btn-no {
  color: #2D8CF0;
  width: 120px;
}

.new-btn-ok {
  color: #fff;
  width: 120px;
}

.new-upFile {
  position: relative;
  .up-btn {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
  }
}

.mr3 {
  margin-right: 40px;
}
.w400 {
  width: 400px;
}
.maxW600{
  max-width: 100%;
}
.tc{
  text-align: center;
}
